import 'package:get/get.dart';

import '../../feature/home/details/details_binding.dart';
import '../../feature/home/details/details_view.dart';

import '../../feature/home/order/order_binding.dart';
import '../../feature/home/order/order_view.dart';
import 'home_routes.dart';

/// 主页模块页面配置
class HomePages {
  HomePages._();

  static final routes = [
    GetPage(
      name: HomeRoutes.details,
      page: () => const DetailsView(),
      binding: DetailsBinding(),
    ),
    GetPage(
      name: HomeRoutes.order,
      page: () => const OrderView(),
      binding: OrderBinding(),
    ),
  ];
}